package openase.audiosearch.comm.request;


public class AudioSearch implements Request {

	private byte[] audioInput;
	private int maxResults;

	public AudioSearch(byte[] audioInput, int maxResults) {
		this.audioInput = audioInput;
		this.maxResults = maxResults;
	}

	public byte[] getAudioInput() {
		return audioInput;
	}

	/**
	 * Returns the maximum number of results that must be received.
	 * 
	 * @return the maximum number of results.
	 */
	public int getMaxResults() {
		return maxResults;
	}

	@Override
	public String toString() {
		return "AudioSearch [audioInputLength=" + audioInput.length + ", maxResults=" + maxResults + "]";
	}

	
}
